package com.xwaf.platform.system.provider.serviceimpl.hander;

import org.springframework.stereotype.Service;

import com.xwaf.platform.common.api.enums.GirlEnums;
import com.xwaf.platform.system.api.service.hander.GirlHandler;

@Service("cookGirlHander")
public class CookGirlHander implements GirlHandler {

	@Override
	public String createGirl() {
		return "您创建了一个爱做饭的女孩";
	}

	@Override
	public boolean supports(String key) {
		return GirlEnums.COOK.getCode().equals(key);
	}
}
